package com.ehotting.edsta.mqbd.signal.netty.action;

import com.ehotting.eaf.netty.action.Action;
import com.ehotting.eaf.netty.action.ActionAble;
import com.ehotting.eaf.netty.domain.DataAble;
import com.ehotting.edsta.mqbd.signal.api.SignalActionConstants;
import com.ehotting.edsta.mqbd.signal.api.domain.netty.TaskSizeRequest;
import io.netty.channel.ChannelHandlerContext;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
@Action(value = SignalActionConstants.TaskSize,isNotice = true)
public class TaskSizeAction implements ActionAble<TaskSizeRequest> {

    @Override
    public DataAble invoke(ChannelHandlerContext ctx, TaskSizeRequest request) {
        return null;
    }

    @Override
    public Class<?> getRequestClass() {
        return TaskSizeRequest.class;
    }

}
